package com.ruoyi.content.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 单页面对象 single_page
 * 
 * @author ruoyi
 * @date 2025-09-11
 */
public class SinglePage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单页面ID */
    private Integer id;

    /** 页面标题 */
    @Excel(name = "页面标题")
    private String title;

    /** 页面内容 */
    @Excel(name = "页面内容")
    private String content;

    /** 页面标识 */
    @Excel(name = "页面标识")
    private String pageKey;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setPageKey(String pageKey)
    {
        this.pageKey = pageKey;
    }

    public String getPageKey()
    {
        return pageKey;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("pageKey", getPageKey())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
